<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改 todo edit</title>
</head>
<body>
<h1>修改 todo</h1>
<form action="/todo/update?id={{todo.id}}" method="post">
    <input name="task" value="{{todo.task}}">
    <button>update todo</button>
</form>
</body>
</html>